<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>

        setInterval(function () {
            let now = new Date()
            let six = new Date('2020-08-31 18:00:00')

            let sec = (six - now) / 1000

            let h = Math.floor(sec / 3600)
            let m = Math.floor(sec % 3600 / 60)
            let s = Math.floor(sec % 3600 % 60)

            h = h < 10 ? ('0' + h) : h
            m = m < 10 ? ('0' + m) : m
            s = s < 10 ? ('0' + s) : s

            console.log([h, m, s].join(':'));
        }, 1000)



    </script>
</body>

</html>